projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
140b11f
)
(get_adstyle_property): Fix previous change.
author
Kenichi Handa
<handa@m17n.org>
Mon, 13 Apr 2009 12:37:41 +0000
(12:37 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 13 Apr 2009 12:37:41 +0000
(12:37 +0000)
src/ftfont.c
patch
|
blob
|
history
diff --git
a/src/ftfont.c
b/src/ftfont.c
index 6865478bd20a36c59c9e3275d1eb432ad4342c0f..f2fa877c5543b1bce2bf50bfdf98f9202c87ea17 100644
(file)
--- a/
src/ftfont.c
+++ b/
src/ftfont.c
@@
-187,6
+187,7
@@
get_adstyle_property (FcPattern *p)
char *p = alloca (end - str + 1);
memcpy (p, str, end - str);
p[end - str] = '\0';
+ end = p + (end - str);
str = p;
}
if (xstrcasecmp (str, "Regular") == 0